﻿using System;
using System.Collections.Generic;
using FreeSql.DataAnnotations;

namespace QuDao
{
	public class WXAppDto
	{
		/// <summary>
        /// 微信应用ID：小程序AppID
        /// </summary>
		public string WxAppID { get; set; }
		
		/// <summary>
        /// 微信应用名称
        /// </summary>
		public string WxAppName { get; set; }
		
		/// <summary>
        /// 微信应用秘钥
        /// </summary>
		public string WxAppKey { get; set; }
		
		/// <summary>
        /// 应用访问令牌
        /// </summary>
		public string AccessToken { get; set; }
		
		/// <summary>
        /// 令牌过期时间
        /// </summary>
		public DateTime TokenExpiredTime { get; set; }
		
		/// <summary>
        /// 创建时间
        /// </summary>
		public DateTime CreateTime { get; set; }
		
				
	}
	
	public class WXAppAddDto
	{
		/// <summary>
        /// 微信应用ID：小程序AppID
        /// </summary>
		public string WxAppID { get; set; }
		
		/// <summary>
        /// 微信应用名称
        /// </summary>
		public string WxAppName { get; set; }
		
		/// <summary>
        /// 微信应用秘钥
        /// </summary>
		public string WxAppKey { get; set; }
		
		/// <summary>
        /// 应用访问令牌
        /// </summary>
		public string AccessToken { get; set; }
		
		/// <summary>
        /// 令牌过期时间
        /// </summary>
		public DateTime TokenExpiredTime { get; set; }
		
		/// <summary>
        /// 备注
        /// </summary>
		public string Memo { get; set; }
		
				
	}
	
	public class WXAppModifyDto : WXAppAddDto
	{
		/// <summary>
		/// 主键ID
		/// </summary>
		public string WxAppID { get; set; }
	}
	
	public class WXAppDetailsDto : WxApp
	{
	}
	
}